package main

import "fmt"

type Student struct {
	id   int
	name string
	sex  byte // 字符类型，ASCII
}

func main() {
	var p1 *Student = &Student{1, "mike", 'm'}
	fmt.Println("*p1 =", *p1)         // *p1 = {1 mike 109}
	fmt.Println("*p1.id =", (*p1).id) // *p1.id = 1
}
